package com.chai.service.Impl;

import com.chai.dao.BrandDao;
import com.chai.domain.Brand;
import com.chai.service.BrandService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("brandService")
public class BrandServiceImpl implements BrandService {
    @Autowired
    @Qualifier("brandDao")
    private BrandDao brandDao;
    @Override
    public List<Brand> selectAll() {
        return brandDao.selectAll();
    }
}
